select * from Purchase_Star_FactsExt where RTRIM(ltrim([TransactionTypeID])) ='' 